package com.zablert.mainactivity.chat

import com.zablert.mainactivity.R
import zyc.zalbert.extensions.logd
import zyc.zalbert.view.recycleview.CoreItemProvider
import zyc.zalbert.view.recycleview.holder.CoreViewHolder

class LeftChatItemProvider : CoreItemProvider<ChatParam>() {
    override fun convert(holder: CoreViewHolder, item: ChatParam, position: Int) {
        holder.setText(R.id.tv_content, item.msg)
    }

    override val itemViewType: Int
        get() = ChatItemType.MSG_NORMAL_LEFT
    override val layoutId: Int
        get() = R.layout.item_msg_left_normal

}
